Skip to content

Conversation

@thilinarmtb
Copy link
Contributor

The current regex used in the PBS scheduler can't capture negative exit codes.
See here. This PR fixes it. Coauthored by @colleeneb.

Co-Authored-By: Colleen Bertoni <[email protected]>
@TApplencourt
Copy link

Just to add some context, yes PBS use negative exit code... https://www.nas.nasa.gov/hecc/support/kb/pbs-exit-codes_185.html

@codecov
Copy link

codecov bot commented Oct 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.25%. Comparing base (ad7abb2) to head (1b75473).
⚠️ Report is 3 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3571   +/-   ##
========================================
  Coverage    91.25%   91.25%           
========================================
  Files           62       62           
  Lines        13534    13534           
========================================
  Hits         12350    12350           
  Misses        1184     1184           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@vkarak vkarak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, thanks!

@github-project-automation github-project-automation bot moved this from Todo to In Progress in ReFrame Backlog Oct 21, 2025
@vkarak vkarak changed the title [bugfix] Fix PBS scheduler regex for negative values [bugfix] Treat negative exit codes in PBS scheduler Oct 21, 2025
@vkarak vkarak enabled auto-merge October 21, 2025 18:41
@vkarak vkarak merged commit a71c68b into reframe-hpc:develop Oct 21, 2025
38 of 39 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in ReFrame Backlog Oct 21, 2025
@thilinarmtb thilinarmtb deleted the fix_regex_for_exit_code branch October 21, 2025 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants